package com.tensquare.article.config;


import com.baomidou.mybatisplus.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author wz
 * @company 公司
 * @create 2020-02-08 12:15
 */
@Configuration
public class MyBatisPlusConfig {

    @Bean
    public PaginationInterceptor create(){
        return new PaginationInterceptor();
    }
}
